package net.lahuobao.mall.service.admin;

import net.lahuobao.mall.entity.admin.MallShopSettlementDetailsResultEntity;
import net.lahuobao.mall.entity.admin.MallShopSettlementResultEntity;
import net.lahuobao.mall.entity.admin.querymodel.MallShopSettlementQueryEntity;
import org.jeecgframework.web.cgform.exception.BusinessException;

import java.util.List;

/**
 * Created by clark on 2016/9/18 0018.
 */
public interface MallShopSettlementServiceI {



    /**
     * 获取商家结算列表 ---拉货宝平台商户结算
     * @param queryModel
     * @return List<MallShopSettlementQueryEntity>
     */
    List<MallShopSettlementResultEntity> selectManageShopSettlement(MallShopSettlementQueryEntity queryModel);


    /**
     * 获取商户结算详情
     * @param qeury
     * @return  List<MallShopSettlementDetailsResultEntity>
     */
    List<MallShopSettlementDetailsResultEntity> selectManageShopSettlementDetails(MallShopSettlementQueryEntity qeury);


    /**
     * 确认结算
     * @param shopId
     * @param id
     * @param userId
     */
    void confirmSettlement(String shopId, Integer id, Integer userId) throws Exception;

    /**
     * 确认结算
     * @param shopId
     * @param ids
     */
    /*void confirmSettlement(Integer shopId, Integer[] ids, Integer userId) throws CustomerException;*/
}
